//
//  HomeViewController_iPad.h
//  RestaurantX
//
//  Created by Vinh Huynh on 6/26/12.
//  Copyright (c) 2012 _eBars GbR_. All rights reserved.
//


#import <UIKit/UIKit.h>
#import "RestaurantParser.h"
#import "ImageDownloader.h"
#import <MapKit/MapKit.h>
#import "MyLocationParser.h"

@class HomeCell_iPad;

@interface HomeViewController_iPad : UIViewController{
    IBOutlet UIScrollView *titleScrollView;
    int currentPage, newPage;
    BOOL byScroll;
}

@property (nonatomic, retain) NSMutableString *myAddress;
@property (nonatomic, retain) CLLocation *currentLocation;
@property (nonatomic, retain) NSMutableDictionary *mondayDownloadsInProgress;
@property (nonatomic, retain) IBOutlet UITableView *homeTable;
@property (nonatomic, retain) IBOutlet UIView *titleView;
@property (nonatomic, retain) IBOutlet UIView *leftView;
@property (nonatomic, retain) IBOutlet UIView *centerView;
@property (nonatomic, retain) IBOutlet UIImageView *titleBarBackground;
@property (nonatomic, retain) IBOutlet UIView *rightView;
@property (nonatomic, retain) IBOutlet UILabel *specialTitleLabel;
@property (nonatomic, retain) IBOutlet UIButton *previousButton;
@property (nonatomic, retain) IBOutlet UIButton *nextButton;
@property (nonatomic, assign) IBOutlet HomeCell_iPad *homeCell;
@property (nonatomic, retain) IBOutlet UIView *loadingView;


- (IBAction)backToCitiesList:(id)sender;
- (IBAction)previousButtonPressed:(id)sender;
- (IBAction)nextbuttonPressed:(id)sender;
- (void) showPreviosView;
- (void) showNextView;
- (void) layout;
- (void) updateLeft;
- (void) updateRight;
- (void)startIconDownload:(Restaurant*)restaurant forIndexPath:(NSIndexPath *)indexPath;
- (void) loadRestaurant;

@end
